<ion-view view-title="限时拍卖" class="panicauctiondetail">
	<ion-nav-buttons side="right">
		<button class="button  button-clear" on-tap="share_apply()"><i class="icon ion-android-share-alt"></i></button>
	</ion-nav-buttons>
	<!--描述：滑动块-->
	<ion-content>
		<div class="font-large-my font-gray-my text-center padding" ng-show="msg!=''">
			<i class="icon ion-sad-outline font-1rem-my"></i> {{msg}}
			</div>
	</ion-content>
	<ion-content scroll="true" ng-show="msg==''">
		<!--<ion-scroll direction="y" ng-style="myObj" lazy-scroll>-->
			<!--描述：下拉刷新-->
			<!--<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>-->
			<div style="padding: 0.5rem;background-color: white;font-size: 0.6rem;">
				<div style="width: 100%;height: 1.2rem;line-height: 1.2rem;">{{datas.act_name}}</div>
				<div  style="margin: 0.5rem 0;border-bottom: 1px solid #EFEFEF;"></div>
				<!--<div class="link">开始时间：<span>{{datas.start_time*1000|date:"yyyy-MM-dd HH:mm"}}</span></div>
				<div class="link">结束时间：<span>{{datas.end_time*1000|date:"yyyy-MM-dd HH:mm"}}</span></div>-->
				<div >{{act_time_name}}：<span class="assertive">{{datas.formate_time}}</span></div>
				<div class="item" style="font-size: 0.6rem;color: #999999;padding: 0;border: none;">
					<div style="float: left;width: 13%;">简介：</div>
					<div style="float: left;width: 87%;white-space: normal;">{{datas.introduction}}</div>
				</div>
			</div>
			<!--描述：轮播广告-->
			<ion-slide-box delegate-handle="advs-handle" auto-play="true" does-continue="true" slide-interval="5000" show-pager="true" pager-click="advsgo(index)" lazy-scroll>
				<!--<ion-slide ng-repeat="obj in datas.image">-->
					<div class="tu">
						<img image-lazy-src="{{datas.image}}" width="100%" height="100%"/>
					</div>
				<!--</ion-slide>-->
			</ion-slide-box>
			<!--描述：内容信息-->
			<div class="info">
				<div class="title" style="height: 2rem;">
					<span class="assertive" ng-show="datas.time_act_status!='will'">当前价：</span>
					<span class="assertive" ng-show="datas.time_act_status=='will'">起拍价：</span>
					<span class="assertive price" ng-show="datas.last_price!=0">{{datas.last_price|currency:'¥'}}</span>
					<span class="assertive price" ng-show="datas.last_price==0">{{datas.start_price|currency:'¥'}}</span>
					<!--<span class="num">(<span class="assertive">{{datas.goods.participant}}</span>人出价)</span>-->
				</div>
				<div class="status" >
					<div class="price" ng-show="!datas.is_price">保证金：<span class="assertive">{{datas.pledge_price|currency:'¥'}}</span></div>
					<div class="col" ng-show="datas.is_price">
						<i class="icon ion-ios-minus-outline font-1rem-my left-zhang assertive" on-tap="goods_reduce()"></i>
						<input type="number" class="left-zhang text-center" style="width:30%;height: 1.4rem;border: 1px solid #dedede;" ng-model="input.number" />
						<i class="icon ion-ios-plus-outline font-1rem-my positive" on-tap="goods_add()"></i>
						<div class="price right-zhang" ng-show="datas.is_price">加价幅度：<span class="assertive">{{datas.amplitude|currency:'¥'}}</span></div>
					</div>
					
				</div>
				<div class="text-center" style="margin-top: 1rem;" >
					<span class="btn assertive-bg light border-radius-my" ng-show="!datas.is_price&&btn_name!='已结束'" on-tap="show_apply()"><i class="iconfont icon-paimai"></i>报名交保证金</span>
					<span class="btn assertive-bg light border-radius-my" ng-show="datas.is_price&&btn_name!='已结束'" on-tap="apply()"><i class="iconfont icon-paimai"></i>提交出价</span>
					<span class="btn assertive-bg light border-radius-my" ng-show="!datas.is_price&&btn_name=='已结束'" style="background: #888888;"><i class="iconfont icon-paimai"></i>报名交保证金</span>
					<span class="btn assertive-bg light border-radius-my" ng-show="datas.is_price&&btn_name=='已结束'" style="background: #888888;"><i class="iconfont icon-paimai"></i>提交出价</span>
				</div>
				<div class="status">
					<div class="price">保证金：<span>{{datas.pledge_price|currency:'¥'}}</span></div>
					<div class="price right-zhang">加价幅度：<span>{{datas.amplitude|currency:'¥'}}</span></div>
				</div>
				<div class="status">
					<div class="price">起拍价：<span>{{datas.start_price|currency:'¥'}}</span></div>
					<div class="price right-zhang">运费：<span>{{datas.freight|currency:'¥'}}</span></div>
				</div>
				<div class="status">
					<div class="price">保留价：<span>{{datas.fixed_price}}</span></div>
				</div>
				<!--<div class="status">
					<div class="tag"><span>拍卖中</span></div>
					<div class="time"><i class="icon ion-ios-timer-outline"></i>
						<span class="assertive">{{datas.end_time}}</span>
					</div>
				</div>
				<div class="line-bottom" style="margin: 0.5rem 0;"></div>
				<div class="title">{{datas.act_name}}</div>
				<div class="desc">
					{{datas.introduction}}
				</div>
				<div class="line-bottom" style="margin: 0.5rem 0;"></div>-->
				<!--数量-->
				
			</div>
			<div class="list list-borderless" id="product-top2" style="margin-bottom:10px;" >
			<div class="item" style="padding-top: 1px;" id="product-top7">
			 	<li class="item item-icon-right padding-10 margin-top-10-my" on-tap="onshow_productInfo(0,detail.goods_id)" style="border-top: 1px solid #DDDDDD;">
			 	 <span style="float: left;font-size: 0.7rem;"> 竞拍流程</span>
			 	 <i class="icon ion-chevron-right font-large-my placeholder-icon"></i>
			 </li>
				<li class="item item-icon-right padding-10 margin-top-10-my" on-tap="onshow_productInfo(1,detail.goods_id)" style="border-top: 1px solid #DDDDDD;">
					 <span style="float: left;font-size: 0.7rem;"> 图文详情</span>
					<i class="icon ion-chevron-right font-large-my placeholder-icon"></i>
				</li>
				<li class="item item-icon-right padding-10 margin-top-10-my" on-tap="onshow_productInfo(2,detail.goods_id)" style="border-top: 1px solid #DDDDDD;"ng-show="(datas.is_price&&datas.act_logs.length>0)||act_ount>0">
					 <span style="float: left;font-size: 0.7rem;"> 出价历史</span>
					<i class="icon ion-chevron-right font-large-my placeholder-icon"></i>
				</li>
			</div>
			</div>
			<div class="list list-borderless storeInfo" style="box-shadow: 4px 4px 20px #333;" ng-show="datas.store_name!=undefined" id="product-top5">
			<li class="item padding-5">
				<!--<div><i class="icon ion-home positive font-1rem-my"></i>&nbsp;{{detail.store_name}}</div>-->
				<!--<div class="row padding-0">
					<div class="col col-25 font-large-my">{{detail.store_kind}}</div>
					<div class="col level padding-0">
						<div class="{{style}}"></div>
					</div>
				</div>-->
				<img src="{{datas.image_place1.s_url}}" class="left-zhang" />
				<div class="left-zhang padding-left-5-my level" style="padding-top: 0.5rem;">
					<div class="storeName" style="text-align: initial;">{{datas.store_name}}</div>
					<div>
						<div class="left-zhang font-large-my font-gray-my">{{datas.store_kind}}</div>
						<div class="{{style}}"></div>
					</div>
				</div>
				<div class="right-zhang">
					<p ng-repeat="store_info in datas.store_info">
						<span class="pointName">{{store_info.name}}</span> <span class="point">{{store_info.avg_point}}</span>
					</p>
				</div>
			</li>
		</div>
		<!--弹窗，通过点击控制，为了避免弹窗显示时，底部内容也能滚动，必须将这些弹窗放在ion-content外-->
		
			<!--描述：当用户到达页脚或页脚附近时-->
			<!--<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>-->
		<!--</ion-scroll>-->
	</ion-content>
	<div ng-hide="isHide" class="kuang_zhang padding">
	      <div ng-include="'templates/myrecord/keyshare.html'"></div>
		</div>
		<!--透明背景，当弹窗出现时，该背景也跟着出现，通过点击控制-->
		<div ng-hide="isHide" class="touming_zhang" on-tap="hide_apply()"></div>
</ion-view>